Allow sails console to be run from anywhere and fix apparent regression.