[AS7-6678] print help usage when determining the host environment fails
[AS7-6010] also remove deployment content on the slave