My first commit to systemd

Recently Ubuntu got systemd 240, unfortunately it broke logout functionality for GNOME Flashback and also for Unity. After some debugging I found problem and fixed it. For little more info you can check systemd pull request.