Add check for git prompt in Ubuntu.

We're tinkering around in the kernel repo for ubuntu; takes too much
time to scan the entire repo.