fixed virDomainPtr leak in adopt_instances

Fixes EUCA-7027.
Merge remote-tracking branch 'origin/testing' into dev/juphoff/EUCA-7027
Merge branch 'dev/juphoff/EUCA-7027' into testing