Fixed an issue with not adding packages in to a package list but just instead using the latest one