fix extendOption when empty string #10 spmjs/spm#890