Bug 1173180 - Check for frontend directory existence before calling rm_r

nvm, I read that as check for existence.