Fix: 500 error returned if destroy request without HTTP referer
Created by: kazubu
This pull request is a fix for 500 error when gitlab received a destroy request which has no HTTP referer.
Error on logs:
NoMethodError (undefined method `include?' for nil:NilClass):
app/controllers/projects_controller.rb:113:in `destroy'