moved lock_dir to "${buildmaster::settings::lock_dir}/${master_name}"