Provide useful error message if preparing an S3 analysis in a non-project directory