Working on regex for paths not complete at time of commit

Change-Id: I69a976ed33f4a58e3cc7639d1245fe830e9a9e65
Reviewed-on: http://www.matthewh.me/gerrit/46
Reviewed-by: Matthew Hoggan <mehoggan@gmail.com>
Tested-by: Matthew Hoggan <mehoggan@gmail.com>