Handled empty default domain [tracker #2078]