Fixing an exception thrown when MSMQ is not installed or Management API is not reachable