find possible target architectures from package.yml

removes the hardcoded choices "x86" and "arm"