Treat "''" and """" as empty strings when checking the select value

In order to avoid output directories such as " file:/tmp/''/output" or "file:/tmp/""/output"