added support for caching branches other than master