Fix logging in the salt loader to specify module tag type

Also cleaned up some formatting and got rid of a very old TODO
that has long been solved in another way