SQL Server 2012 replication permissions with virtual user and agent credentials
IT kind of seems like the Agent account didn't have access to that filepath.  On our network permissions to the Program Files directory are very restricted.  When you created the new folder you probably changed the security on the new folder, whether realizing it or not, and that allowed the account for the replication to reach that folder.