Fixed NPE in CornerstoneConfiguration.

Change-Id: Id9f2e46491fd3b2e478befa0da32ed90d6aff60b