cli: use exists() for alias check