make sure we use check_call to catch the exception

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