Fixes bug in output formatting in Repository