Merge pull request #480 from birarda/master

simple fix for AgentList getInstance crash