fix bug where version object isn't set because product doesn't exist WEB-7951
branched from other branch instead of master; reverting changes that were in the other branch WEB-7951