perform a checkout $VERSION before building regal-import