completion: Fix GIT_PS1_SHOWDIRTYSTATE to prevent unbound variable errors.