Fix restart remote job poll

This change corrects the path for the status file of the remote job. It
was previously using the path for the status file on localhost.

This change also fixes the unnecessary use of `ssh` to poll jobs on
localhost.