Add support for branches other than master.