Fixed bug where resetting home directory also resets base template.