Split up repo helper into separate functions

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Run unit tests offline

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>