create a get_default_repo method helper

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>