Fixed issue in Bundle Script action where fetching the icon could fail due to redirection