[backend] use new Build::recipe2buildtype function, rename packtype to buildtype