Error deleting tag image under Registry section
### Steps to reproduce
* Push docker image tag to our GitLab Container Registry.
* Go to Project-Registry Section
* Delete image tag
### What is the current _bug_ behavior?
The image tag isnt't deleted showing an error 400 **Something went wrong**
### What is the expected _correct_ behavior?
The image is deleted
### Production logs
```
==> production.log <==
Started DELETE "/user/swarmweb/registry/repository/7/tags/7cdd0345ef0d5120365b0f23ac2c7aee9feea742" for ip at 2017-10-24 11:09:14 +0200
Processing by Projects::Registry::TagsController#destroy as JSON
Parameters: {"namespace_id"=>"user", "project_id"=>"swarmweb", "repository_id"=>"7", "id"=>"7cdd0345ef0d5120365b0f23ac2c7aee9feea742", "tag"=>{}}
Completed 400 Bad Request in 46ms (ActiveRecord: 2.7ms)
```
issue