Well, removing that check causes one of the stat unit tests to fail, so I guess there's a core bug. I added this same workaround to the Dropbox backend (empty string is a valid Dropbox path too), so I'll need to remove that too once the core bug is fixed.