Foxed local-install by removing trailing %end