[bash] custom-prompt: run tput only if it is a real git repository