title: Why does getNextZipEntry skip root directory for few files?
body: <p>Hi when i am trying to unzip my file i am using the following snippet </p>
  
  <pre><code>    public static List&lt;String&gt; unZip(File tarFile) throws IOException {
      List&lt;String&gt; result = new ArrayList&lt;String&gt;();
      InputStream inputStream = new FileInputStream(tarFile);
      ZipArchiveInputStream in = new ZipArchiveInputStream(inputStream);
      ZipArchiveEntry entry = in.getNextZipEntry();
      while (entry != null) {
          System.out.println("Entry name ::: "+entry);
          if (entry.isDirectory()) {
              System.out.println("This entry is a directory ");
              entry = in.getNextZipEntry();
              continue;
          }
          result.add(entry.getName());
          entry = in.getNextZipEntry();
      }
      in.close();
      return result;
  }
  </code></pre>
  
  <p>My above snippet outputs as</p>
  
  <pre><code>Entry name ::: lib/docssdk.jar
  Entry name ::: lib/jackson-annotations-2.7.4.jar
  Entry name ::: lib/jackson-core-2.7.4.jar
  Entry name ::: lib/jackson-databind-2.7.4.jar
  Entry name ::: lib/jsonapi-converter-0.3.jar
  Entry name ::: lib/okhttp-3.0.1.jar
  Entry name ::: lib/okio-1.7.0.jar
  Entry name ::: lib/retrofit-2.0.2.jar
  </code></pre>
  
  <p>I am expecting it to be as </p>
  
  <pre><code>Entry name ::: lib/
  Entry name ::: lib/docssdk.jar
  Entry name ::: lib/jackson-annotations-2.7.4.jar
  Entry name ::: lib/jackson-core-2.7.4.jar
  Entry name ::: lib/jackson-databind-2.7.4.jar
  Entry name ::: lib/jsonapi-converter-0.3.jar
  Entry name ::: lib/okhttp-3.0.1.jar
  Entry name ::: lib/okio-1.7.0.jar
  Entry name ::: lib/retrofit-2.0.2.jar
  </code></pre>
  
  <p>The root folder lib/ is missing</p>
  
  <p>I am getting the expected ouput when i am unzipping the file content in my machine and created a zip again on lib folder.</p>
  
  <p>Why i am missing my root folder here while obtaining <code>getNextZipEntry</code>? Please advice me on this. </p>
  
  <p>I have attached the <a href="https://drive.google.com/file/d/0B1N73zJVTNRna3ZYamZ0bXFreTg/view?usp=sharing" rel="nofollow noreferrer">screenshot</a> of the zip structure along with this </p>
  
  <p><a href="https://drive.google.com/open?id=0B1N73zJVTNRnOHZ6VVN6aF9Qb0E" rel="nofollow noreferrer">Original Zip File</a> to reproduce this issue</p>