Set originalName based on rename option
Log error when package current/new name is the same