Retry button on Build page displays for users who can't use it

For example you can click "Retry" here: https://gitlab.com/maur8ino/gitlab-ce/builds/2545588

Screen_Shot_2016-07-22_at_1.47.17_PM

It leads to a 404 because I don't have developer access to the project.

We should really have an rspec feature test for this to make sure it doesn't happen again.