recipes/ubuntu: Fixed the checking of Architecture