Stop checking the file location programmatically.
Server Side Request Forgery in Services and Web Hooks See merge request gitlab/gitlabhq!2337