ubuntu and ubuntu-git script fixes. hands-free on 12.04-1.