Bug 1173180 - Check for frontend directory existence before calling rm_r

ok, fair point.  I can switch it.