Call getarch later in the script, otherwise the no_arch check makes
no sense.