Using Ladislav's more explicit way of comparing EOL

- to_i intentionally left there as Yast processes data from outside