Check if directory is in PATH
Fixed addition issue