Add -r option to snapshot to have an optional path to the repositories.d
directory.