Fixed generation of 'citation' file

There used to be a mysterious empty 'citation' file that was created due
to a bug. Now it is gone.