Fix bug in "show modules" comamnd that was showing shared modules as non-shared and non-shared as shared