added protection for non-existant paths for blueprint upload, and also now processing the path through expanduser