I dont know how this method is supposed to work, but two paths through this return a false-ish value ("" and None). Is it intentional that they do this? Or should they both be the same?