Suppress git errors when building PS1.

Makes moving outside repos much less noisy.
Suppress dirty marker when not in a repo
Merge pull request #27 from phatblat/pull/suppress-ps1-errors

Suppress dirty marker and errors building PS1 when outside a repo