clean up imports and SQL code for getting the instanceid when signing a trove
clean up imports and SQL code for getting the instanceid when signing a trove

fedora-conary/conary,fedora-conary/conary,fedora-conary/conary,fedora-conary/conary,fedora-conary/conary