use ctx instead of remotes

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