Fix #getDecryptedResource now resolves resource