The best way to avoid repetition is to use the special variable $_
(= the last argument of the previous command):
test -f /path/to/some/file && source $_
The post How can I recall the argument of the previous bash command? has lots of interesting details on those special "recalled" variables.