Prevent interup exception when ctro + c
Enhanced the way the config is handled
find the local repo when creating a new app