Bugfix: getting own path was broken (not zero terminated) (rev. 3)

Signed-off-by: nixnodes <code@eth.si>