Use full absolute repository path from API
Import hooks from gitorious/mainline