Redmine#3514: allow non-absolute paths for returnszero()

See https://cfengine.com/dev/issues/3514

With acceptance test.  The basis for making the change is that `execresult` already allows non-absolute paths, so it must have simply been an oversight.