Add $__LOCKDIR and /tmp to the excluded paths.