diff --git a/go.sum b/go.sum
index 19bc9c52f4..d84dbb6bb4 100644
--- a/go.sum
+++ b/go.sum
@@ -349,6 +349,7 @@ github.com/google/gofuzz v0.0.0-20161122191042-44d81051d367/go.mod h1:HP5RmnzzSN
 github.com/google/gofuzz v0.0.0-20170612174753-24818f796faf/go.mod h1:HP5RmnzzSNb993RKQDq4+1A4ia9nllfqcQFTQJedwGI=
 github.com/google/gofuzz v1.0.0 h1:A8PeW59pxE9IoFRqBp37U+mSNaQoZ46F1f0f863XSXw=
 github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
+github.com/google/gofuzz v1.1.0 h1:Hsa8mG0dQ46ij8Sl2AYJDUv1oA9/d6Vk+3LG99Oe02g=
 github.com/google/gofuzz v1.1.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
 github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs=
 github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc=
diff --git a/pkg/kyverno/apply/command.go b/pkg/kyverno/apply/command.go
index 91f6d0fda5..c0c20e08af 100644
--- a/pkg/kyverno/apply/command.go
+++ b/pkg/kyverno/apply/command.go
@@ -130,20 +130,10 @@ func Command() *cobra.Command {
 			resources, err := getResourceAccordingToResourcePath(resourcePaths, cluster, policies, dClient, namespace)
 			if err != nil {
 				if !sanitizedError.IsErrorSanitized(err) {
-					yamlBytes := []byte(resourceStr)
-					resources, err = common.GetResource(yamlBytes)
-					if err != nil {
-						return sanitizedError.NewWithError("failed to extract the resources", err)
-					}
-				}
-			} else {
-				resources, err = common.GetResources(policies, resourcePaths, dClient)
-				if err != nil {
 					return sanitizedError.NewWithError("failed to load resources", err)
 				}
-				return err
 			}
-
+			
 			mutatedPolicies, err := mutatePolices(policies)
 
 			msgPolicies := "1 policy"