Fix a minor problem in the SDK to correctly generate fully qualified references to resources.