Don't call undefined function in tryInitialize

#3362