I am doing that at next lines, no?

  if [ x$dev_path != x ]; then

I just found that [ -z $x ]  without quotes is unreliable and wanted to avoid adding quotes as you do not use these in your styles.