fix error detection if local alias is not a valid alias
fix error detection if local alias is not a valid alias


marcosptf/pear-core,marcosptf/pear-core,marcosptf/pear-core,marcosptf/pear-core,marcosptf/pear-core,marcosptf/pear-core