Change if condition to fix broken bash completion sourcing