Create resource fix

@diegobz This PR creates the resource when it doesn't exist in server and someone through the client pushes the corresponding source file