Fix sending require.toUrl paths to remote.get during functional tests.