Creates application_directories early.

Flush out bad paths after creation of application directories object.