Fix crash when URL_BASE not set