diff --git a/api/funkwhale_api/music/tasks.py b/api/funkwhale_api/music/tasks.py
index 8d2b276e0c41b3fa93495cad4b1f7ec9b5110c23..b78cabaae10113962ffa14c90fd9ecbb2b92922a 100644
--- a/api/funkwhale_api/music/tasks.py
+++ b/api/funkwhale_api/music/tasks.py
@@ -469,7 +469,7 @@ def get_track_from_import_metadata(data):
         models.Artist, query, defaults=defaults, sort_fields=["mbid", "fid"]
     )[0]
 
-    album_artist_name = data.get("album_artist", artist_name)
+    album_artist_name = data.get("album_artist") or artist_name
     if album_artist_name == artist_name:
         album_artist = artist
     else: