Drop nil paths on scope to fix resource named route generation