Bug 1173180 - Check for frontend directory existence before calling rm_r