Fixes a bug where bot tries to parse blank url