CLOUDSTACK-6971: createAutoScaleVmProfile failed with NPE due to lack of bean
    injection.