Fix the create API when fromSrc has a bad URL Upstream-commit: 35e5975b9049f341f947c1bf281b06af45cb1a48 Component: engine