[COOK-4544] fixing NameError exception on :delete action

Signed-off-by: Sean OMeara <someara@opscode.com>