Fix manifest permissions reader