fix --mirror flag not taken into account
Merge pull request #103 from simonbasle/master

fix --mirror flag not taken into account