Use proper method to get values from configuration

Change-Id: I0021d489f1111dd949a29e907f39ae6e948dfb9d