Add null check to getConfigForHostname

bug: 26144676
Change-Id: I18f50940846f1ce8109560c63ce2a87ce084d9e5
1 file changed