application context missing in rpm upload possibility

the application context is missing when using repoclient's uploadTo function