builtin-remote: make rm() use properly named variable to hold return value