Index: utils/fileutils/fileutils.go
--- utils/fileutils/fileutils.go.orig
+++ utils/fileutils/fileutils.go
@@ -10,11 +10,7 @@ import (
 
 func CommonBaseSearchPaths() []string {
 	paths := []string{
-		".",
-		"..",
-		"../..",
-		"../../..",
-		"../../../..",
+		"${PREFIX}/share/mattermost",
 	}
 
 	// this enables the server to be used in tests from a different repository
