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.
Merge pull request #21 from egeland/feature-20

Attempt to fix #20 - option to disable repo