fixed error in prompt when git upstream is not set