Import sys (and PEP8ify import order)
Catch exception in autolock-cmd when autolock-daemon not running.