MINOR CHANGE: Use unused imports (random/tpe)

check_dependencies prints in logger.debug the versions of the required
python modules
MINOR CHANGE: Remove unused imports