Fix a regression with merged assemblies introduced in commit dd4f4c3