Fix nil issue when checking version
Properly set "4.x" version if it can't be determined