Fixed doctrine error with PathAliasExists class