Use the correct conditional for raising an error

/cc @opscode/release-engineers