[Fix #525] Make import validation optional

Fixes #525