BUG: Incorrect handling of completely empty returns from url request