Two small bugfixes; update third_party deps; update code for new go-systemd

The two bug fixes should have gone through a different PR, but I'm too lazy.