Fix bug introduced in last commit

Wherein a regeneration would crash if the link to the static directory
existed in the site directory.