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