added support for absent /var/lock directory