Fix phar building to skip doc and sample code from dependencies when packaging