prevent empty package path