Revert "Fix #3975 - Register TARGETURI, not URI"

This reverts commit 93f8f391834664700615844eca6358a036201e49.