diff --git a/bosh_cli/lib/cli/versions_index.rb b/bosh_cli/lib/cli/versions_index.rb
index <HASH>..<HASH> 100644
--- a/bosh_cli/lib/cli/versions_index.rb
+++ b/bosh_cli/lib/cli/versions_index.rb
@@ -69,7 +69,7 @@ module Bosh::Cli
       end
 
       @data["builds"].each_pair do |fp, build|
-        if version_cmp(build["version"], version) == 0 && fp != fingerprint
+        if build["version"] == version && fp != fingerprint
           raise "Trying to add duplicate version `#{version}' " +
                     "into index `#{@index_file}'"
         end
WIP: Improve version comparisons for fingerprint versions