Added a check to replace a single '.' directory option with the process's current directory | fixes #5