This method returns the package a stream was loaded from.
If the stream was loaded from a package that has not been deleted yet it will be returned, otherwise NULL will be returned.