Added asset entry when installing component from discovery. Fixes #4793.