Changed uuid generation

On the suggestion of @gregneagle, I changed the uuid generation to use
the python class uuid.

I also more exemptionption handling for sdpackages_ampkgprops_path