Update "listextensions" controller function so that it expects arch/os/r...

...evision

Doing so will avoid returning a mix of extensions belonging to different
"arch", "os" or "revision". When using the interface within midas directly,
the user won't be confused.