Use the session path instead of the session id.
Merge pull request #36 from City-busz/systemd-lock-fixes

Fix and improve systemd compatibility