[CB-4715] Parse url query parameters 'subdir' & 'ref' for fetching plugins