Ensure search_path is an array when set via environment variable