repo.js: remove unneeded context saving