@st3ff3n on WordPress.org
Mentioned in [11082] on Core SVN:Check if not exists and not is_dir before bailing.