Fix mavlink unit test

- Also changed behavior to not return "U" type entries or ".", ".." entries from list command.