Remove incorrect use of module.fail_json during import check for s3

Fixes #8698