fix bug in logging builder
fix bug in logging builder

The logger.py build_logger function checks if the parent directory
of the path to the log file is the current directory. This was
being done incorrectly (the list index needed to be specified).

widdowquinn/pyani