Fixed broken delete file action

Fixes the error about "actionFunc" when trying to delete a file on master.

Please review @DeepDiver1975 @MorrisJobke @schiesbn