Allow changing of repository and branch via config.
Make sure stopping diaspora upstart service in upgrade phase doesn't kill upgrade if stopping fails (dead already, etc)