Fixed bugs for situation when no other config introduced a CloudFactory