Account for $wgWhitelistRead = false (default)

Warning: in_array() expects parameter 2 to be array, boolean given in
/srv/vagrant/mediawiki/extensions/NSFileRepo/NSFileRepo.php on line 98

Change-Id: I89b8d0c31e00a80128c5282d421d668f0eef7f1a
Merge "Account for $wgWhitelistRead = false (default)"