--- wp-admin/menu.php.old	2016-12-20 23:19:09.887148841 +0100
+++ wp-admin/menu.php	2016-12-20 23:33:02.360148841 +0100
@@ -102,6 +102,10 @@
 		// Special handling for data:image/svg+xml and Dashicons.
 		if ( 0 === strpos( $ptype_obj->menu_icon, 'data:image/svg+xml;base64,' ) || 0 === strpos( $ptype_obj->menu_icon, 'dashicons-' ) ) {
 			$menu_icon = $ptype_obj->menu_icon;
+		// No modification of menu_icon values of custom post types containing 'none' or 'div'
+		// This is documented in class WP_Post_Type for $menu_icon
+		} elseif( 'none' == $ptype_obj->menu_icon || 'div' == $ptype_obj->menu_icon ) {
+			$menu_icon = $ptype_obj->menu_icon;
 		} else {
 			$menu_icon = esc_url( $ptype_obj->menu_icon );
 		}
