Fix error on check exclude from download composer.json
Merge pull request #2496 from oziks/fix-exclude

Fix error on check exclude from download composer.json