···1+diff --git a/aab/builder.py b/aab/builder.py
2+index 5c3805c..a181b27 100644
3+--- a/aab/builder.py
4++++ b/aab/builder.py
5+@@ -67,8 +67,7 @@ class AddonBuilder:
6+ self._version = Git().parse_version(version)
7+ # git stash create comes up empty when no changes were made since the
8+ # last commit. Don't use 'dev' as version in these cases.
9+- git_status = call_shell("git status --porcelain")
10+- if self._version == "dev" and git_status == "":
11++ if self._version == "dev" and call_shell("git status --porcelain") == "":
12+ self._version = Git().parse_version("current")
13+ if not self._version:
14+ logging.error("Error: Version could not be determined through Git")