We should check against the ending substring since people could run their nextcloud in a subfolder. * Added test