Fix auto upload

Recent changes (337d24e05f8b12d10b5a9429003273eaf67362e9) have fixed a problem with `node-zip` in #122, allowing file upload to work properly.

However, the automatic detection of local files to upload is still broken. Indeed, even though the file is properly uploaded, the file path typed in is still the local one.

This changeset makes the _distant_ file path typed if the file was automatically uploaded.