bugfix: was duplicating last line of rc file when creating a hermit
section for the first time