style: refactor prefix path check
style: refactor prefix path check

konqui/brew,vitorgalvao/brew,vitorgalvao/brew,reitermarkus/brew,konqui/brew,sjackman/homebrew,JCount/brew,sjackman/homebrew,EricFromCanada/brew,MikeMcQuaid/brew,reitermarkus/brew,mahori/brew,claui/brew,Homebrew/brew,Homebrew/brew,sjackman/homebrew,mahori/brew,EricFromCanada/brew,MikeMcQuaid/brew,nandub/brew,nandub/brew,mahori/brew,claui/brew,EricFromCanada/brew,MikeMcQuaid/brew,reitermarkus/brew,nandub/brew,EricFromCanada/brew,Homebrew/brew,vitorgalvao/brew,konqui/brew,nandub/brew,claui/brew,MikeMcQuaid/brew,JCount/brew,JCount/brew,Homebrew/brew,JCount/brew,mahori/brew,konqui/brew,claui/brew,sjackman/homebrew,reitermarkus/brew,vitorgalvao/brew