Export PATH so that the xpm bin folder is preferred and improve checksum
warning logic.