[malta] fix module loading due to CONFIG_LOCALVERSION being on (#7144)