Check destdir variable is not empty.