only output qualified name when module alias is present
Tests for #195