[MSC-145] fixing NPE - optional dependencies may return null controller