fix vcs_info crashing the terminal