Fix bundle paths to start at the beginning of the bundle (xxx.framework/, Contents, or xxx.app/)
Fix main exe reported path.