Only load installed level packs if they exist
Changed indexOf function to be public and added tests
Truncate existing paths in board when a new path is added