Return null if geoTransform is not set instead of throwing an error.