handle rts prefix paths for dev/prod differences