Fix null rawConfig issue (Issue #1)

Fix for #1