Fixed issue #115 . Now the user gets a warning if no working directory is set.