Fix a bug building images when the build box doesn't have pkgng repo
setup yet