Added `exit` to correct redirect after `Build Now` is clicked

Withow `exit` statement it's not redirected to new created build.
Added `exit` to correct redirect after `Rebuild` and `Delete build` is clicked

Without `exit` it's not redirected.
Hide message when local repositary is used

Hide message about hooks when local repositary is used
Merge pull request #89 from mrafalko/master

Added `exit` statement to correct redirects