When Id generation fails, use a better criterion to know if erp5_core is too old

Previous code was broken since BT revision are not integers anymore.