SDKtool: Fix adddevice operation

Change-Id: I7bd3813bab7a8006ab418990f0e742be7d6f400a
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
(cherry picked from commit 0d303db8c2e79c772cd216bfc07b42637c37e1bd)