patched version of the same code that went into crio Signed-off-by: baude <bbaude@redhat.com>
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>