[rpm] Enter upstream directory before building