Hide repo and update error message