fix issue #2 again

LeaderF couldn't work if an directory parameter was supplied to the
LeaderF command.