Fix dirty branch status in mavericks