Revert "Fix for the case that  "./" is not in $PATH"

This reverts commit d6f6ede417c36d18e6f2ba9357e8a468d67a88b6.