Avoid calling underlying methods on non-existing repos See merge request gitlab-org/gitlab-ce!14962
Attach a file by drag & drop or click to upload