Cherrypick pull request #2264 from opscode/jdmundrawala/issue-2225

Improve detection missing WhatIf support