WICKET-5752 ReplacementResourceBundleReference should return the
dependencies for the replacing resource reference