build: fix add from remote url Upstream-commit: b7ac1571a35ce0df42cf96b0ed91f20c33678d31 Component: engine