[sr-dev] git:5.4:5b6a7722: core: early detect of empty host for check_self()