Fix mishandling of $Id$ expanded in the repository copy in convert.c