[COOK-2271] fix ValidationFailed for default cookbook name

Fixes Chef::Exceptions::ValidationFailed: Option cookbook must be a kind of [String]! error in java_webapp provider