Fix option parsing when --android is passed before the ID.