Guard against deleted project feature entry Closes #66482 See merge request gitlab-org/gitlab-ce!32187