Fixing problem where empty WP directory halts download/install