Fix basename of command