Use ifquery for finding the interfaces

When using interfaces.d/<foobar>, interfaces are not picked up. Let ifquery figure out the format of the interfaces files for us.