CLOUDIFY-1592 added protective code against returning agent with a wrong reservation id to the esm