added check for undefined response when attempting to upload file to non-whitelisted folder
Merge pull request #31 from KenzieRudolphWilson/master

added check for undefined response when attempting to upload file to non whitelisted folder