cache: fix possible warning on cache init
add composer.json for packagist.org