Add parameter to enable repo popula
Little change for my own usage.