Attempt to fix #20 - option to disable repo

Note that I don't have a facility to test my changes,
so please run some test on this to make sure if behaves as
it should.