Influence of geometry on domain wall dynamics in Permalloy nanodevices