Fix renaming branch without config file