made internal RuntimeManagerFactory be backward compatible after api changes

(cherry picked from commit 2490c9652399d291c5a33cca0bb1b04e1afd874d)