wayland: Fix crash when wayland server is not running
Merge pull request #17 from thp/wayland

wayland: Fix crash when wayland server is not running