hmmm - in this case stable 5 is broken as well:
https://github.com/owncloud/core/blob/stable5/apps/files/console/scan.php#L24