Remove useless uuid module checks.

These were only needed for python 2.4 which does
not provide a uuid module.