Fix an issue when the version detail string to append is nil

To avoid `NSInvalidArgumentException` when `versionDetails:inDict:` returns nil.