treat argument smarter in import

Signed-off-by: Hiroshi Miura <miurahr@linux.com>