Bundle: Fixes file name for update

Null checks in file helpers.