[[ Bug 13179 ]] Fix potential crash when getting mac resources from a re...

...source fork