[imagebuilder] fix arch detection pattern to cope with underscores in board name...