[BUGFIX] Prevent PHP warning when saving in BE

When saving some content in the BE, the clearCacheCmd hook throws a PHP warning if no manifestCachefiles are present in the typo3temp directory.
Fixed by testing the return of glob() before entering the foreach.