Cleaning the list of current branches