Exit with correct status and output

Fix athdir so that it correctly exits with status 1 if no paths
were found.  Also, it should not print anything if no paths were
found (previously, it printed a blank line).