Check pahts exists before paths.length
Release 0.0.3