Make sure captiveportal section of config is an array, reported on ticket #2838
Ignore swap partitions when looking for external config file