[rhq-project/rhq] 8e230e: [BZ 1540527] Add check for null agentClient which ...