Move $DEST creation after logging setup
Move $DEST creation after logging setup

Setup the log output before calling functions like
check_path_perm_sanity that want to write out to
the error log.

Change-Id: I9815965257c399a48f8cf0f344814d954137aecb
Closes-Bug: #1500834

ozamiatin/devstack,nawawi/openstack,varunarya10/devstack,dirkmueller/devstack,avvocatodemarchis/devstack,group-policy/devstack,samgoon/devstack,richliu/devstack,Mahito/devstack,richliu/devstack,ozamiatin/devstack,dtroyer/devstack,pombredanne/devstack,noironetworks/devstack,bigswitch/devstack,mssumanth/devstack,mssumanth/devstack,pombredanne/devstack,thomasem/devstack,Mahito/devstack,bigswitch/devstack,bswartz/devstack,thomasem/devstack,samgoon/devstack,openstack-dev/devstack,bswartz/devstack,nawawi/openstack,openstack-dev/devstack,group-policy/devstack,varunarya10/devstack,prithivm/branch01,dirkmueller/devstack,prithivm/branch01,dtroyer/devstack,noironetworks/devstack,avvocatodemarchis/devstack