This needs to be a comparison instead, right now it just fetches the last build's ID.

Also, I feel like this method is doing a bit much right now and that some of this should probably go in the repository model instead. Maybe `Repository#last_build_on_default_branch` and then check if this build is the same as that build?