CON-1160: Avoid loading optimizely when noexternal parameter is set

https://wikia-inc.atlassian.net/browse/CON-1160