fix lib_shared_port-check-ports_van on repeated runs #4073

We now unlink the job log file on start up, ensuring we don't see old
data.

Also a bit of simplification of code.
More debugging information on failure.

Added after wishing it was there for my own debugging.