qitoolchain: fix when package version is None

Change-Id: Ieaad1f6c5a2198a67a540342826650f2e2125ffc