[PATCH] Use the correct command to get architecture