make import_* compatible with ~1

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>