added checking exit code to prevent upload of borked mgmt template
added checking exit code to prevent upload of borked mgmt template

subutai-io/Subutai,subutai-io/Subutai,subutai-io/base,subutai-io/base,subutai-io/Subutai,subutai-io/Subutai,subutai-io/Subutai,subutai-io/base,subutai-io/Subutai,subutai-io/base