set bm-repository-file before require 'bm