Fixed appending packages to log in mapt