Fixes #4: Write reference of repothum