cli: filter out aliases when trying to expand command