After uninstalling an module, some actions specified in the dashboard may not exist anymore (the dashboard view isn't correctly cleaned up). This was causing a traceback because the dashboard was trying to load views corresponding to an non-existing action. Closes #19995