adjust parse error message to be identical on jruby
unwrap scalars when checking deploy branches
make sure language is a string, fixes #16
jruby should now pass