Retrieve short hostname in manage script