Fix passing needsNative to the wrong method.
diff --git a/vars/functions.groovy b/vars/functions.groovy
index a8c9d25..5c6011d 100644
--- a/vars/functions.groovy
+++ b/vars/functions.groovy
@@ -88,7 +88,7 @@
                 stage('Init') {
                     container('debian') {
                         deleteDir()
-                        initSourceTree(boardName)
+                        initSourceTree(boardName, needsNative)
                     }
                 }
 
@@ -101,7 +101,7 @@
 
             dir(workspacePath) {
                 stage('Deploy') {
-                    archivePackage(boardName, packageName, repo, needsNative)
+                    archivePackage(boardName, packageName, repo)
                 }
             }
         }