Actually, it looks like it would already be doing that.  Since _default_connection would return None if there is no default file.