Updating get_layer to not use potentially undefined variable
Updating get_layer to not use potentially undefined variable

Also giving user heads up to check permissions of download folder, which is likely causing the error.
Trophime/singularity,Trophime/singularity,Trophime/singularity,Trophime/singularity