Fixed problem with Looking for new files with Subsite module enabled

Based on https://github.com/silverstripe/silverstripe-subsites/issues/35 discussion I would like to push this fix for version 2.4.

Thanks

Tomas Bilek