Need to fix the concept of workspace when running a repository in remote mode. Currently we chdir to the remote clone dir but we need something more robust.