Fix an error with the ressourcepacks directory