Comparing this to getLocalHCID(), we only log at the DEBUG level if we can't find the community ID.  Should these two methods be similar in the log output?  Perhaps a final (if blank)  log.error() prior to returning empty?