[bundler] Fix file path collecting on package resources.