Fix auto-detection of dev archives

If the only file in the directory is not a valid archive, consider this to be a dev package.

See https://github.com/ocaml/platform-dev/pull/13#issue-41744298