use the new get_command helper in check_call

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