Removed unused imports
Fixed required parameters for bundle configuration
Updated extraction of "site-url" field: using PHP parse_url()