[PAXSB-75]Avoid 'Bundle could not be generated' WARN message when InputStream is being partially read
(cherry picked from commit e33c270699bc6b9014bffaa09c1ed8a1e7677045)