[finish #41713147] Handle setting search path when the schema has a ' (tick) in it