fix undefined local variable,definition_dir
fix undefined local variable,definition_dir

Specifying an non writeable definition dir returned an undefined variable error rather than the helpful error message.
Gamevy/veewee,akshaykarle/veewee,mcnster/veewee,phusion/veewee,zorosteven/veewee,Falkor/veewee,akshaykarle/veewee,mhuckaby/veewee,xalopp/veewee,nettucu/veewee,fxposter/veewee,cgvarela/veewee,ngpestelos/veewee,sjfloat/veewee,zorosteven/veewee,esfourteen/veewee,jordant/veewee,tom-seddon/veewee,cliffrowley/veewee,jedi4ever/veewee,fxposter/veewee,xalopp/veewee,tom-seddon/veewee,ngpestelos/veewee,sjfloat/veewee,cliffrowley/veewee,cgvarela/veewee,mhuckaby/veewee,zorosteven/veewee,Wenzel/veewee,zorosteven/veewee,nitrocode/veewee,swiftstack/veewee,esfourteen/veewee,KwadroNaut/veewee,cgvarela/veewee,tom-seddon/veewee,caphrim007/veewee,Wenzel/veewee,Falkor/veewee,Wenzel/veewee,fxposter/veewee,courtney-miles/veewee,KwadroNaut/veewee,mhuckaby/veewee,xalopp/veewee,phusion/veewee,jordant/veewee,swiftstack/veewee,leopoiroux/veewee,esfourteen/veewee,courtney-miles/veewee,xalopp/veewee,jordant/veewee,Gamevy/veewee,nitrocode/veewee,phusion/veewee,Wenzel/veewee,Wenzel/veewee,cliffrowley/veewee,leopoiroux/veewee,caphrim007/veewee,mcnster/veewee,nettucu/veewee,Gamevy/veewee,nitrocode/veewee,courtney-miles/veewee,nitrocode/veewee,dmkoch/veewee,tom-seddon/veewee,mcnster/veewee,Falkor/veewee,esfourteen/veewee,zorosteven/veewee,caphrim007/veewee,KwadroNaut/veewee,dmkoch/veewee,jordant/veewee,cgvarela/veewee,Falkor/veewee,nettucu/veewee,esfourteen/veewee,cliffrowley/veewee,caphrim007/veewee,phusion/veewee,cgvarela/veewee,cliffrowley/veewee,sjfloat/veewee,jedi4ever/veewee,jedi4ever/veewee,mhuckaby/veewee,swiftstack/veewee,Gamevy/veewee,akshaykarle/veewee,sjfloat/veewee,dmkoch/veewee,ngpestelos/veewee,sjfloat/veewee,caphrim007/veewee,akshaykarle/veewee,ngpestelos/veewee,leopoiroux/veewee,courtney-miles/veewee,nettucu/veewee,tom-seddon/veewee,nitrocode/veewee,Gamevy/veewee,swiftstack/veewee,nettucu/veewee,mcnster/veewee,phusion/veewee,Falkor/veewee,jedi4ever/veewee,swiftstack/veewee,leopoiroux/veewee,jedi4ever/veewee,KwadroNaut/veewee,xalopp/veewee,fxposter/veewee,fxposter/veewee,leopoiroux/veewee,mcnster/veewee,KwadroNaut/veewee,dmkoch/veewee,courtney-miles/veewee,mhuckaby/veewee,jordant/veewee,dmkoch/veewee,akshaykarle/veewee,ngpestelos/veewee