If your `not_if` is just going to call a shell command you should just pass the command string to `not_if` instead of a block. See the documentation for [Guards] for more information.

[Guards]: http://docs.opscode.com/resource_common.html#guards