              '#{Path.join([output_dir, "releases", release.version, "libexec"])}'},
             {'#{Path.join(["lib", "#{release.name}-#{release.version}", "consolidated"])}',
              '#{Path.join([output_dir, "lib", "#{release.name}-#{release.version}", "consolidated"])}'}] ++
-            case release.is_upgrade do
-              true ->
-                [{'#{Path.join(["releases", release.version, "relup"])}',
-                  '#{Path.join([output_dir, "releases", release.version, "relup"])}'}]
-              false ->
-                []
+            if release.is_upgrade do
+              [{'#{Path.join(["releases", release.version, "relup"])}',
+                '#{Path.join([output_dir, "releases", release.version, "relup"])}'}]
+            else
+              []
             end ++
             case release.profile.include_erts do
               false ->

    :ok
  end
  defp strip_release(_, _), do: :ok

end

    opts = [
      :silent,
      {:path, ['#{Path.join([release.profile.output_dir, "lib", "*", "ebin"])}']},
      {:dirs, [:include | if release.profile.include_src do [:src, :c_src] else [] end]},
      {:outdir, '#{Path.dirname(archive_path)}'} |
      case release.profile.include_erts do
        true ->
