Use HomeCommunityMap.getLocalHomeCommunityId()