Updated version helper to read the correct image version