Add option to use stages for the repo setup instead anchors

Requested in Issue #157