Fixed bug where replacesrc was failing because /root/dev was not expanded