BUG: composer.lock version check: makes sure "packages" exists.