Fixed plugin checks using wrong paths.