added error checking when user has no folders
added error checking when user has no folders

pLeBlanc93/ArcREST,jgravois/ArcREST,BrunoCaimar/ArcREST,achapkowski/ArcREST,DShokes/ArcREST,adegwerth/ArcREST,Esri/ArcREST