psci: validate imports when using :i

fixes #609