add default BASEDIR=pwd to prepare-repos