Don't clobber rootURL with undefined