Fixed two cases where we only returned null pointers if we were logging.
Fixed two cases where we only returned null pointers if we were logging.

apple/swift-lldb,apple/swift-lldb,apple/swift-lldb,apple/swift-lldb,apple/swift-lldb,apple/swift-lldb