forgot to update variables after last change

Was assuming that 'ankipath' was still set at the beginning of the file,
and that variable no longer exists at all.