Trying more reliable method of resolving packages