Fix issue where the install fails if one of the packages are missing sources/main.