Fixes check target by removing non-existing directory reference