ytdl: simplified getting package information

Simplified getting package information in `bin/ytdl.js`.