Fix issue introduced by ipkg commit 9c784e0d7e044f88c31049d65b9cc1f41f541ace

fixes #1