fixing bash prompt branch regex