Catalyst looks for filename only when searching under PYTHONPATH
When the given script is not found directly, a fallback is to look under PYTHONPATH environment variable. In that case, look only for the filename in each directory instead of considering the input path as a relative one.
fixes #22723 (closed)