don't remember gistname until successfully loaded

this was causing export as r source to fail after a bad load by id,
among other things.

fixes #508