Fixed opam-admin stats for packages in sub-dirs
Closes #1023
Merge pull request #1028 from AltGr/fix-stats

Fixed opam-admin stats for packages in sub-dirs