Fix to right path usage in autoDefaultPath