raise the error if we're unable to create a proper machine import spec