Portable check for hub cmd before aliasing