Fix some formatting in deploy task.

[ci skip]
Read uberjar filename after uberjar profile is merged.

Fixes #1552.