Folder for Custom Doctypes

Curious on this as well - I find deselecting the “custom?” checkbox creates the folder inside custom_app/custom_app/custom_app/doctype, however it worked fine before when it was checked, but I couldn’t find any record of its creation in the file tree?